{% extends '../layout.html' %}
<!-- header-start -->
{% block head %}
{% parent %}
{% endblock %}
<!-- header-end -->

<!-- body-start -->
{% block content %}
    <div class="MyHaier_Sign ">
        <div class="return_my_haier">
            <a href="javascript:void(0)" onclick="history.go(-1)">
                <div class="Return">
                    <img src="/images/icon/left.png" />
                </div>
            </a>
        </div>
        <div class="flex-box">
            <header>
                <div class="UserPoint-Box">
                    <div class="UserPoint-Img">
                        <div class="Img-bg">
                            <img src="{{ thatData.haier_user.u_image|default('/images/personal-center/wx_photot.jpg') }}" />
                        </div>
                    </div>
                    <div class="UserPoint-Info">
                        <div class="all-center">
                            <h3 class="MyHaier_Sign _name">{{ thatData.haier_user.u_name }}</h3>
                            <p class="seashells">海贝:<span>{{ thatData.haier_user.u_haibei }}</span></p>
                        </div>
                    </div>
                </div>
            </header>
            <main>
                <div class="mainSign">
                    <div class="Task_Bg"></div>
                    <div class="Task_Ribbon"></div>
                    <div class="Task_Hongbao"></div>
                    <div class="Task_Top"></div>
                    <div class="Task_Sign">
                        <p class="Task_Date"><span>{{ thatData.ub_continuous_day }}</span>天</p>
                    </div>
                    <p class="Task_Today">
                        {% if thatData.sign_status=='已签到' %}
                            今日已签到,奖励15海贝
                        {% else %}
                            今日未签到
                        {% endif %}
                    </p>
                </div>
                <div class="Sign_btn">
                    {% if thatData.sign_status=='已签到' %}
                        <button>已签到</button>
                    {% else %}
                        <button id="post">签到</button>
                    {% endif %}
                </div>
            </main>
        </div>
    </div>
{% endblock %}
<!-- body-end -->
<!-- script-start -->
{% block script %}
    <script type="text/javascript" src="/js/base/app.js"></script>
    <script type="text/javascript" src="/js/task/task.js"></script>
{% endblock %}
<!-- script-end -->